home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 476-500 / disk_479 / uucp / uucp113.1.lzh / uucp1 / man / dmail.help next >
Text File  |  1989-10-27  |  24KB  |  706 lines

  1.  
  2. 'help TOPIC' for more information on a command.  Many commands take
  3. message numbers or message lists:
  4.     [msg]    is an optionaly specified message number (usually the
  5.         operation is on the current message if no number is
  6.         specified)
  7.     <list>    is an optionaly specified message list.  Message lists
  8.         consists of number ranges of the form N -N N- or N-N, and
  9.         keywords (help keywords)
  10.  
  11.  
  12. OTHER HELP AVAILABLE (in addition to the commands):
  13.     pager sendmail tilde header newmail keywords enviroment
  14.  
  15. DMAIL written by Matthew Dillon, U.C. Berkeley -UCF
  16.  
  17. (C)Copyright 1985-1989 by Matthew Dillon, All Rights Reserved
  18.  
  19. .pager
  20. set page [rows/command]
  21.  
  22.     'page' is a SET variable which determines the type of paging list and
  23. display commands will use.  If not defined, no filter is used.    If a numerical
  24. value (i.e. 24) is specified, the page length will be set to that value and
  25. a rather stupid, simple internal paging routine will be used.  If the
  26. variable is set to an alpha-numeric string, output will be piped through
  27. that filter.  For instance:
  28.  
  29.     unset page        -no paging
  30.     set page more        -use more filter
  31.     set page page        -use 'page' filter
  32.     set page > x        -redirect to a file (be careful)
  33.     set page 24        -use internal paging, page length 24 rows.
  34.  
  35.     For internal paging, use <return> to continue, or your INTR
  36. character to break out.  Note that if you have paging set to a program,
  37. response time may be slower because dmail must execute that program.
  38.  
  39. .sendmail
  40. set sendmail sendmail-path
  41.  
  42.     Inform DMAIL as to where the sendmail program is.  The default
  43. (variable unset) is /usr/lib/sendmail.  This variable is useful only for
  44. those of us who like to hack-up our own sendmail.
  45.  
  46. .tilde
  47. ~ ~user directory expansion
  48.  
  49.     In all expressions except those within double quotes, the tilde
  50. `~` will be expanded to either your home directory, or the directory of
  51. a specified user, depending.  Note that '*' and '?' are not expanded by
  52. DMAIL, though they will be by any shell commands you execute.
  53.  
  54.     It is probably a good idea to use ~ in any aliases, etc... in case
  55. you change directories using the 'cd' command.
  56.  
  57.     alias resource source ~/.dmailrc        -example using ~
  58.  
  59. .header
  60. set header filepath
  61.  
  62.     Set the location of your header file, which will appended to the
  63. scratch mail file before you are placed in the editor (usually vi).
  64.  
  65.     set header ~/.header            -set header file to ~/.header
  66.     unset header                -no header file
  67.  
  68. .newmail
  69. When new mail comes in:
  70.  
  71.     Whenever newmail arrives, it will be automatically incorporated into
  72. a running DMAIL.  However, to see it, you must 'select all' (or select on
  73. anything that would include it).
  74.  
  75. .keywords
  76. .range
  77. .message
  78. KEYWORDS, MESSAGE LISTS
  79.  
  80.     Many commands in DMAIL require a range of messages be given.  A Range
  81. consists of message numbers (3 4 5), message ranges (1-45 -9 9-), and
  82. keywords.  Keywords select certain messages from the entire SELECTED list:
  83.  
  84.     all        -All messages
  85.     tag        -All TAGGED messages
  86.     mark        -All MARKED (read) messages
  87.     deleted     -All DELETED messages
  88.     written     -All WRITTEN messages
  89.     untag        -All messages NOT TAGGED
  90.     unmark        -All messages NOT MARKED (i.e. read)
  91.     undeleted    -All messages NOT DELETED
  92.     unwritten    -All messages NOT WRITTEN
  93.  
  94.     Only the first three letters need be specified.  For instance, the
  95. 'all' keyword selects all the messages currently selected.  You could select
  96. on some subject, say, and then 'delete all'.
  97.  
  98.     The message number 0 refers to the last message. the 'undeleted'
  99. keyword exists only for completeness; you will probably never use it.
  100.  
  101. .ver
  102. .version
  103. VER
  104.  
  105.     returns the version number.
  106.  
  107. .if
  108. .else
  109. .endif
  110. IF [!]variable
  111. ELSE
  112. ENDIF
  113.  
  114.     Conditionals.  Example:
  115.  
  116.     if verbose
  117.         .... do stuff if the variable exists
  118.     else
  119.         ... do stuff if the variable does not exist
  120.     endif
  121.     if !page; echo no page variable; endif
  122.  
  123. .nobreak
  124. .breakok
  125. NOBREAK
  126. BREAKOK
  127.  
  128.     Disable or Enable your INTR key.  This command is stackable, thus
  129. there is no problem with recursive aliases which use it.  Be careful that
  130. you match any NOBREAK to a BREAKOK, or you may accidently put yourself into
  131. NOBREAK mode (and a single BREAKOK may not fix it because it's stackable).
  132.  
  133.     A good example would be a command which needs the page variable set
  134. for the duration... say an alias to TYPE to a file:
  135.  
  136. alias file "%_a nobreak; set _b $page; set page cat > $_a; type; set page $_b; unset _b; breakok"
  137.  
  138.     You can see that if the user were to hit his INTR character at the
  139. wrong time, the page variable would be incorrectly set.  The nobreak/breakok
  140. commands fix this problem.  For simplicity, most people don't bother with
  141. break/nobreak, as it clutter's aliases up.
  142.  
  143. .delete
  144. DELETE <message list>
  145.  
  146.     Mark the specified messages for deletion.  They will no longer show up
  147. on LISTings, (gaps will appear in message numbering).  However, you can
  148. still TYPE them, if you remember the message number, and you can always
  149. UNDELETE them.    Remember that the particular message # you've deleted
  150. may be different if you change the SELECT parameters.  For example,
  151. message #3 selecting 'To' & 'foo' may actually be message #45 when you
  152. are selecting ALL (see SELECT).  Upon a QUIT, messages marked for
  153. deletion are actually deleted from the mail file.
  154.  
  155. .undelete
  156. UNDELETE   <message list>
  157.  
  158.     UNDELETES messages.  Without arguments, UNDELETE will
  159. restore the last message you deleted.  Specifying 'all' (undelete all), will
  160. undelete any deleted messages in the currently selected message list.
  161.  
  162. .header
  163. HEADER [message]
  164.  
  165.     Display the entire header of a message.  This does not cause the
  166. message to be marked 'read'.  TYPE, on the other hand, only displays
  167. header information specified by SETLIST.
  168.  
  169. .type
  170. TYPE [message]
  171.  
  172.     Type the text of a message.  Only header fields defined by SETLIST
  173. are displayed.    Otherwise, only the text is displayed.    This marks
  174. the particular message as 'read', and also makes that message the
  175. current message.
  176.  
  177. .echo
  178. ECHO [string]
  179.  
  180.     Echo the given string onto the screen.
  181.  
  182. .go
  183. GO #
  184.     go to a message, don't type it out or anything.  Remember that you
  185. can go to the last message by using the message # 0.  By placing a keyword
  186. (help range), you can go to the first TAGGED message, etc...
  187.  
  188. .reply
  189. .Reply
  190. REPLY
  191.  
  192.     Reply to the current letter.  There are two forms of 'reply'.  The
  193. first does not include the senders original letter, the second does.
  194. In both cases, Dmail will place you in VI, with the To:, Cc:, and
  195. subject lines filled out.  The second form is 'Reply', with an
  196. upper case 'R'.  This form includes the sender's message shifted to
  197. the right with '>'s on the left hand side.  See FORWARD for another
  198. method of replying to mail.
  199.  
  200.     In any case, you may get the sender's letter by reading the file '#'
  201. from VI.  That sequence would be ':r\\#'
  202.  
  203.     See MAIL for more information on VI
  204.  
  205. .forward
  206. FORWARD [user user user....]
  207.  
  208.     Forward the current message to a list of users.  The sender's
  209. entire message is placed in the text portion.  The To: field will
  210. contain the user's named above, and the Subject: field will contain
  211. a 'Fo:' (you append your own subject)
  212.  
  213.     See MAIL for more information on VI
  214.  
  215. .mail
  216. MAIL [user user user user...]
  217.  
  218.     Mail to [users].  You are given a VI to work from, and may modify
  219. any of the header fields.  the From: field is inserted automatically
  220. by SENDMAIL, but you can overide it if you wish.
  221.  
  222.     Quitting out of VI without writing the output file will cause an
  223. abort, and no mail will be sent.   Additionaly, you may use the 'vibreak'
  224. variable to enable your INTR character (usually CTL-C) to break you out of
  225. VI.
  226.  
  227.     When modifying the users list in To and Cc fields, remember that
  228. they should be all comma delimited, or none comma delimited.
  229.  
  230. .select
  231. SELECT ALL
  232. SELECT Field  match match match match...
  233. SELECT Field  !match
  234. SELECT Field  match match match , Field match , .....
  235.  
  236.     Select what you want to look at.  Select will take the field header
  237. you supply and attempt to match arguments with that field in the mail
  238. file.  You can then work on the selected material as if the rest of
  239. your mail didn't exist.  For instance, 'select To dillon', will select
  240. all messages addressed to you.    Note that case is checked for the
  241. FIELD-HEADER, but not for arguments, so the latter will also find
  242. anything addressed to Dillon or DILLON.  You only have to give a
  243. partial match, so 'select To di' would work just as well.
  244.  
  245.     Select then, allows you to quickly find what you want even though
  246. you may have 12000 messages (though it may take a while with that many)
  247. You may also specify what you DON'T want to select on:
  248.  
  249.  select To !foo
  250.  
  251. will select all letters not addressed to 'foo'.  You may select on any
  252. field you wish.  At any time, you may say 'select ALL' to select the
  253. entire message list.  Use RESELECT to select on the current message
  254. list.  SELECT always selects from the entire message-list
  255.  
  256.  select Cc hack , To hack
  257.  
  258. will select any mail with Cc or To fields containing hack.  You may
  259. have as many comma operators as you wish.  The comma must be a field
  260. of its own (spaces on either side... will be fixed in a later version)
  261.  
  262. .reselect
  263. RESELECT ALL
  264. RESELECT Field    match match match match...
  265. RESELECT Field    !match
  266.  
  267.     SEE SELECT.  Reselect allows you to CONTINUE to narrow down a topic
  268. or whatever.  It will select on the current message list (which you have
  269. already narrowed down with SELECT or RESELECT).
  270.  
  271. .defer
  272. DEFER
  273.  
  274.     Deselects any marked messages .. messages marked as 'read'.  This is
  275. as if you did a RESELECT on all unread messages in the current select field.
  276. Thus, the messages will be renumbered.    To see these messages again, you must
  277. use SELECT.
  278.  
  279. .rlist <num>
  280. RLIST <num>        -<num> > 0 (next N), < 0 (prev N).
  281. RLIST            -Lists next 20 (or previous 20 if near the end)
  282.  
  283.     Relative list.    See LIST for details of the list command.  This
  284. command will display the next <num> messages beginning at the current
  285. message.  If <num> is negative, it displays the previous 20 ending at
  286. the current message.  If there are not enough messages remaining in the
  287. forward or reverse direction, it lists in the opposite direction to try
  288. to bring the total messages listed to <num>
  289.  
  290. .list
  291. LIST <message list>
  292. LIST            -Lists all selected messages
  293.  
  294.     Display header information on a message as specified by SETLIST,
  295. in a one line per message format.  The default lists ALL messages.
  296.  
  297. Leftword flags:    r    -indicates message has been read.  Message will be
  298.              moved to the destination file on QUIT
  299.            >    -indicates message is the current message
  300.            w    -indicates message has been written to a file.
  301.              Message will be deleted from source file on QUIT
  302.            T    -indicates message has been taged by the user
  303.  
  304. .next
  305. NEXT
  306.  
  307.     Execute TYPE or HEADER for the next message, depending on which of
  308. TYPE or HEADER was last executed by you
  309.  
  310. ._next
  311. _NEXT
  312.  
  313.     Go to next message, do not print it out.
  314.  
  315. .back
  316. BACK
  317.  
  318.     Execute TYPE or HEADER for the previous message, depending on which
  319. of TYPE or HEADER was last executed by you
  320.  
  321. ._back
  322. _BACK
  323.  
  324.     Go to previous message, do not print it out.
  325.  
  326. .db
  327. DB
  328.     Delete the current message, type (or header) the previous message.
  329. This command could not be implemented with "del;prev" due to a special case
  330. when one is on the last message.
  331.  
  332. .dt
  333. DT
  334.     Delete current message, type (or header) next message.  This command
  335. will warn you when you reach the end of the message list.
  336.  
  337.     References: DELETE and NEXT
  338.  
  339. .enviroment
  340. ENVIROMENT VARIABLE ACCESS
  341.  
  342.     Access may be gained to enviroment variables by using $$ instead of
  343.     a single $.  For example:  echo $$USER
  344.  
  345.     'help dmail' for command line options,
  346.     'help set'   for description of special variables
  347.  
  348. .set
  349. SET [variable [string]]
  350.  
  351.     see 'enviroment' for enviroment variables
  352.  
  353.     With no arguments, SET prints out all currently active variables.
  354. Note that this variable list is a different list than the ALIAS list.  With
  355. one argument, the specified variable is displayed if it exists, or created
  356. if it doesn't.  With more than one argument, the specified variable is set
  357. to the specified string.  Variables may be references on the command line by
  358. $variable .  The variable's contents will replace the reference.  Unlike
  359. aliases, however, variable substitutions may take place anywhere on the
  360. command line rather than substitute just the command name.  Note also that
  361. if you use a $ substitution for an argument of a command, the entire
  362. variable's contents is ONE argument (i.e. if a = "b c d", and you say
  363. something like: 'unset $a', it would attempt to unset a single variable
  364. whos name is "b c d".
  365.  
  366.     There are several reserved SET variables, which define options in
  367. DMAIL.    Changing these will modify the option:
  368.  
  369.     page        set paging on or to a specific command (i.e. more)
  370.     sendmail    set the path to the sendmail program
  371.     vibreak     enable your INTR character even when in VI.
  372.     verbose     reflects verbose option to sendmail
  373.     comlinemail    set when dmail executed w/ command line mailing list
  374.     header        header file to append to any messages you send.
  375.     ask        ask what to do after vi'ing mail
  376.     archive     file to archive any mail you send out in.
  377.     _headchar    string used to precede included text, default ">"
  378.     replyfields    fields to search to find the reply path
  379.  
  380.     page
  381.  
  382.      This variable determines what kind of paging is used for LIST,
  383.      TYPE, and HEADER commands.  If the variable does not exist, paging
  384.      is turned off.  If set to null (no string), an internal paging
  385.      routine is used.  If set to a value, an internal paging routine is
  386.      used using the value as the page length.  the 'page' variable can
  387.      also be set to a command, such as 'more' or 'page', in which case,
  388.      the output is piped through those commands:
  389.  
  390.      set page        Turn paging on (internal page routine)
  391.      set page 25        Internal page routine... 25 rows/screen
  392.      set page more        Use 'more' command to pipe output through
  393.      set page page        Use 'page' command to pipe output through
  394.  
  395.      you could also conceviably say:  'set page cat > x', or
  396.      'set page cat | lpr', but be very careful.
  397.  
  398.     sendmail
  399.  
  400.      This variable will redirect DMAIL as to where the mailer program
  401.      is.  The mailer program must be compatible with /usr/lib/sendmail
  402.      which is the default used if the 'sendmail' variable isn't set
  403.      to anything:
  404.  
  405.      set sendmail bin/mysendmail
  406.  
  407.     vibreak
  408.  
  409.      This variable, when set, allows the INTR character to abort a
  410.      reply, mail, or forward command.  Otherwise, if this variable is
  411.      not present, INTR will not abort the above commands.
  412.  
  413.     verbose
  414.  
  415.      This variable, when set, causes the -v flag to be sent to
  416.      sendmail.  In addition, DMAIL will wait for sendmail to complete
  417.      before returning your prompt.
  418.  
  419.     comlinemail
  420.  
  421.      This variable is set when dmail is invoked with a command line
  422.      user list (e.g.  dmail charlie mary mark). Usually, one uses
  423.      this variable in an IF construct.  A good example would be that
  424.      you may usually CD to a mail directory, but you don't want to
  425.      CD when dmail is run with a command line user-list:
  426.  
  427.         if !comlinemail
  428.             cd  ...
  429.  
  430.      alternate definition: The comlinemail variable will NOT be set
  431.      if dmail is in interactive mode.
  432.  
  433.     header
  434.  
  435.      The file specified by this variable will be appended onto the temp
  436.      vi files in reply and mail.  The file is appended before you go into
  437.      vi, so when you do, what you see is still what you get.
  438.  
  439.     ask
  440.  
  441.      If set, dmail will ask you what to to (quit, send, re-edit) after you
  442.      leave the editor when sending mail.  If not set, the mail is sent as
  443.      soon as you leave the editor (unless you didn't write anything).
  444.  
  445.     archive
  446.  
  447.      If set (to a file name), any mail you send out (mail/reply/etc...)
  448.      will be archived to this file.  Usually, you provide a fully
  449.      specified path so cd's won't effect the file location.
  450.  
  451.     _headchar
  452.  
  453.      This string is prepend to any included text when you do an upper-case
  454.      reply (R) command.
  455.  
  456.     replyfields
  457.  
  458.      This string holds a list of fields which are searched for to
  459.      determine which one to use in the To: field of your reply.  If
  460.      this variable does not exist or none of the specified fields could
  461.      be found, the 'From ' (not From:) mail header will be used.  The
  462.      search ends at the first field found.    Example:
  463.  
  464.      set replyfields "Reply-To: From:"
  465.  
  466. .replyfields
  467. SET replyfields "field1 field2 ..."
  468.  
  469.      This string holds a list of fields which are searched for to
  470.      determine which one to use in the To: field of your reply.  If
  471.      this variable does not exist or none of the specified fields could
  472.      be found, the 'From ' (not From:) mail header will be used.  The
  473.      search ends at the first field found.    Example:
  474.  
  475.      set replyfields "Reply-To: From:"
  476.  
  477. .>
  478. SET _HEADCHAR "string"
  479.  
  480.     see SET.  The _headchar variable determines the string prepending all
  481.     included text when you do an upper-case reply (R) command.
  482.  
  483. .archive
  484. SET ARCHIVE file
  485.  
  486.     if the archive variable is set to a file path, any mail you send out
  487.     will automatically be appended to that file.  Dmail pre-pends a
  488.     "From ", so it is compatible with /bin/mail and so that you can
  489.     dmail -f your archive file.  Additionaly, a "Date: " field is
  490.     pre-pended so you know when you sent the message.  example:
  491.  
  492.     set archive ~/Dmail/arch
  493.  
  494.     since your .dmailrc is sourced even when you "dmail user .." from
  495.     your csh, putting the above line in your .dmailrc will turn on
  496.     archiving whenever you use dmail to send mail, command line or
  497.     dmail prompt.
  498.  
  499.     if unset or set to nothing, no archive is made.
  500.  
  501. .ask
  502. SET ASK
  503.  
  504.     if the 'ask' variable is set (set ask), dmail will ask you what to do
  505.     when you are finished editing mail rather than send it immediately.
  506.     (see 'help set')
  507.  
  508. .alias
  509. ALIAS [variable [string]]
  510.  
  511.     Create an alias for a command.    With no arguments, ALIAS will display
  512. all active aliases.  With one argument, a particular alias is displayed (if
  513. it exists), or defined (if it did not previously exist).  With more than one
  514. argument, the particular alias is set to the string list specified.
  515.  
  516. alias
  517. alias hack "select From hacker , To hacker , Cc hacker"
  518. alias bye quit
  519. alias stuff "setlist 60 To ; list"
  520.  
  521.     Usually, any arguments following the alias are appended to the
  522. expansion.  However, you can place such arguments inside the alias somewhere
  523. by using the following construction:
  524.  
  525. alias myecho "%var echo $var ; list"
  526.  
  527. myecho hello there  ---> echo hello there ; list
  528.  
  529.     to unalias an alias, use the UNALIAS command.
  530.  
  531. .unset
  532. .unalias
  533. UNSET var var var...
  534. UNALIAS var var var...
  535.  
  536.     Eradicate variables or aliases from memory.
  537.  
  538. .setlist
  539. SETLIST [-s] [columns] Field [columns] Field ...
  540.  
  541.     -s prevents display of the list.
  542. Set the list format used for LIST and TYPE.  The optional [columns]
  543. indicates how many columns to allocate for the Field specified.  The
  544. Field can be a partial match. However, case is observed:
  545.  
  546. setlist 18 Fro    38 Sub    10 To  0 Dat
  547.  
  548. 18 columns for the From: field, etc... when TYPEing messages, the
  549. [columns] is ignored, and each field is printed in its entirety.
  550. Note that 0 columns have been allocated for the Date: field.
  551. Therefore, the Date: field will not show up on the LIST command,
  552. but will show up in the TYPE command.
  553.  
  554. .cd
  555. CD PATH
  556.  
  557.     cd, as in csh.    Changes your base directory.  You can use
  558.  the shell escape '! pwd' to get your current working directory.
  559.  
  560. .source
  561. SOURCE file
  562.  
  563.     Source a file.    The file is read in an executed in sequence.
  564.  
  565. .preserve
  566. PRE    <message list>
  567.  
  568.     PRESERVE messages.  A message is MARKED if it has been read (has an 'r'
  569. flag from the LIST command).  Marked messages are moved from your readfile
  570. into your outfile upon a QUIT.    If you are reading and writing to the same
  571. file (i.e. from your mbox to your mbox), the 'r' flag has no effect.
  572.  
  573.     However, if you are reading from your spool file, and want to keep
  574. read messages in your spool (that is, not move them to your mbox), you want
  575. to PRESERVE them.  This command simply unmarks them, so they appear not to
  576. have been read.
  577.  
  578. .mark
  579. MARK <message list>
  580.  
  581.     Mark messages specified as being already 'read'.  Remember that if
  582. you executed DMAIL without a -f option, any message 'read' at the time
  583. you quit will be moved to MBOX (or file specified by -o)
  584.  
  585. .tag
  586. .untag
  587. TAG <list>
  588. UNTAG <list>
  589.  
  590.     The TAG command allow you to flag any message.    You can tag a set of
  591. messages, then reference them all at once.  For instance, if you tag
  592. interesting messages as you glance at them, you may then write them all
  593. to a file by 'write filename tag',  or list them with 'list tag'.
  594. Alternately, you could delete all your taged messages with a single delete
  595. command 'delete tag'.  The 'tag' operand works in the same way as the 'all'
  596. operand, except it works only on taged messages.
  597.  
  598.     UNTAG will untag a particular message in your message list.  For
  599. instance, to untag any taged messages in the entire message list, you would:
  600.  
  601.  select all
  602.  untag all    OR     untag tag
  603.  
  604.     Note that 'untag all' and 'untag tag' have the same effect.
  605.  
  606. .write
  607. WRITE file <message list>
  608.  
  609.     Write the given messages or the current message to a file.  The file
  610. file is appended to.  Remember that you may specify 'all' to write
  611. all messages in the current select field to the file.  Messages will be
  612. marked as having been writen, and will be deleted from the mail file
  613. when you 'quit'.  However, you may cause them to be kept in the mail
  614. file by UNdeleting the messages (i.e.  undelete all)
  615.  
  616.     You can also TAG the messages you want to write, and say
  617. 'write file tag' to write to the file all taged messages.
  618.  
  619. .!
  620. ! [shell command]
  621.  
  622.     Give yourself a shell or execute a shell command.  The shell forked
  623. is that specified by your SHELL enviroment variable, or /bin/sh if there is
  624. no SHELL enviroment variable.
  625.  
  626. .x
  627. .exit
  628. X (EXIT)
  629.  
  630.     EXIT out of DMAIL without changing any files.  Usually, one exits
  631. with QUIT, which would cause deleted messages to disappear, and TYPEd
  632. messages to go to MBOX (if you did not use the -f option with DMAIL).
  633.  
  634.     If your outfile is the same as your infile, reading a message does
  635. not effect anything.
  636.  
  637. .quit
  638. QUIT
  639.  
  640.     Quit out of DMAIL. Delete any messages that were marked for deletion
  641. and if you executed DMAIL on /usr/spool/mail/ (default), any mail
  642. marked 'read' will be placed in MBOX in your home directory
  643.  
  644. .xswitch
  645. .qswitch
  646. XSWITCH fromfile [tofile]
  647. QSWITCH fromfile [tofile]
  648.  
  649.     Switch to a different set of files.  XSWITCH doesn't modify your
  650. old from and to files before switching, QSWITCH works as if you had QUIT
  651. stuff before switching to another set of files.
  652.  
  653.     If no [tofile] is specified, the new tofile will be the same as the
  654. fromfile you specify.
  655.  
  656. .help
  657. .?
  658. HELP [topic]
  659.  
  660.     Give me help on a topic
  661.  
  662. .dmail
  663. COMMAND LINE OPTIONS FOR DMAIL
  664.  
  665.     dmail -O [-l rcfile] -f [file] -o [file] -F field -F field -F field ...
  666.  
  667.     Default conditions:
  668.         Home directory gotten from password entry
  669.         User gotten from password entry
  670.         Visual editor set to /usr/ucb/vi
  671.  
  672.         VI BREAKOUT enabled
  673.         READ file is /usr/spool/mail/$USER
  674.         WRITE file is $HOME/mbox
  675.         From:,    To:, and Subject: fields will be loaded into memory.
  676.  
  677.     HOME    enviroment variable becomes home directory
  678.     USER    enviroment variable becomes user name
  679.     VISUAL    enviroment variable becomes editor used
  680.  
  681.     -O            Go into interactive mode, even if there is no
  682.                 mail to read.
  683.  
  684.     -f [from file]        Specify spool file to get mail from. If no file
  685.                 Argument is given, $HOME/MBOX is used.
  686.  
  687.     -o [to file]        Specify file to write to, If no Argument
  688.                 is given, $HOME/.MBOX is used.    Note that
  689.                 the default without -o is $HOME/MBOX
  690.  
  691.     -f -o            With no file arguments causes both READ and
  692.                 WRITE files to be $HOME/.MBOX
  693.  
  694.     -F field        Append this field to those which will be
  695.                 used on initial load.  If, During usage of the
  696.                 program you specify a field which is not in
  697.                 memory, DMAIL will be forced to re-load the
  698.                 entire spool file, which can take a long time
  699.                 if you have more than 64K in the file
  700.  
  701.     -l rcfile        Use this as the rc file rather than .dmailrc
  702.  
  703.     -L            Do not source the rc file on boot
  704.  
  705.  
  706.